#ifndef GENERAL_H
#define GENERAL_H

#include "Pieces.h"

class General : public Piece
{
public:
    General(PieceType type, int row, int col, bool isRed);
    ~General() = default;

    // 实现将/帅的移动规则
    bool is_valid_move(int to_row, int to_col, PieceType board[9][10]) override;
    
};

#endif